package com.yupi.springbootinit.config;/*
@author name
@data 2025/3/6-22:24
*/

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@Data
@ConfigurationProperties(prefix = "ai")
public class AiConfig {

    @Value("${ai.hostUrl}")
    public String hostUrl;
    @Value("${ai.domain}")
    public String domain;
    @Value("${ai.appid}")
    public String appid;
    @Value("${ai.apiSecret}")
    public String apiSecret;
    @Value("${ai.apiKey}")
    public String apiKey;
}
